package com.gitee.zhanyao.security.jwt;

import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter;

/**
 * @author zhanyao
 */
public class OauthJwtAccessTokenConverter extends JwtAccessTokenConverter {

    public OauthJwtAccessTokenConverter(UserDetailsService userService) {
        super.setAccessTokenConverter(new OauthAccessTokenConverter(userService));
    }

}